package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 小区管理对象 h_community
 * 
 * @author ruoyi
 * @date 2023-01-19
 */
public class Community extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 小区名字 */
    @Excel(name = "小区名字")
    private String name;

    /** 管理员名字 */
    @Excel(name = "管理员名字")
    private String adminName;

    /** 管理员电话 */
    @Excel(name = "管理员电话")
    private String adminPhone;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAdminName(String adminName) 
    {
        this.adminName = adminName;
    }

    public String getAdminName() 
    {
        return adminName;
    }
    public void setAdminPhone(String adminPhone) 
    {
        this.adminPhone = adminPhone;
    }

    public String getAdminPhone() 
    {
        return adminPhone;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("adminName", getAdminName())
            .append("adminPhone", getAdminPhone())
            .append("status", getStatus())
            .append("address", getAddress())
            .toString();
    }
}
